const path = require("path");

function resolve (dir) {
  return path.join(__dirname, dir);
}

module.exports = {
  publicPath: './',
  outputDir: 'dist',
  assetsDir: 'static',
  runtimeCompiler: true,
  lintOnSave: true,
  productionSourceMap: false,
  devServer: {
    port: 8081
  },
  configureWebpack: {
    resolve: {
      alias: {
        "@": resolve("src"),
        "components": resolve("src/components")
      }
    }
  }
};

